package a.autocode.icop.maker;

import java.io.File;

import a.autocode.JBaseConfigInfo;

public class ICOPConfigInfo extends JBaseConfigInfo
{
	//渠道报文特有的命令.
	public static String CMD_SERVICE_PACKAGE = "SERVICE_PACKAGE";
	public static String CMD_SERVICE_TEMP = "SERVICE_TEMP_PATH";
	public static String CMD_TRANS_CODE = "TRANS_CODE";
	
	private String servicePackage;			//服务包名.
	private String serviceTempl;			//服务区模板
	private String transCode;
	
	public ICOPConfigInfo()
	{
		super();
	}
	
	/***
	 * 获取service目录
	 * @author zhangcq
	 * @date Dec 6, 2016
	 * @comment 
	 * @return
	 */
	public String getServiceDir()
	{
		return getSrcPath()+File.separator+servicePackage.replace(".", File.separator );
	}
	
	/**** getter-setter *******/
	
	
	public String getServicePackage() {
		return servicePackage;
	}

	public String getServiceTempl() {
		return serviceTempl;
	}

	public void setServiceTempl(String serviceTempl) {
		this.serviceTempl = serviceTempl;
	}

	public void setServicePackage(String servicePackage) {
		this.servicePackage = servicePackage;
	}

	public String getTransCode() {
		return transCode;
	}

	public void setTransCode(String transCode) {
		this.transCode = transCode;
	}
}
